package com.night.icm.model.base;

import com.night.icm.common.night_enum.DegreeType;
import com.night.icm.common.utils.SexType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * TeacherDTO
 *
 * @author Liao ZhiYong
 * @date 2020/2/13
 */
@ApiModel(description = "教师信息")
@Data
public class TeacherDTO {

    @ApiModelProperty(position = 110, value = "教师id，自增")
    private String id;

    @ApiModelProperty(position = 120, value = "教师编号", required = true)
    private String code;

    @ApiModelProperty(position = 130, value = "教师姓名", required = true)
    private String name;

    @ApiModelProperty(position = 140, value = "性别", required = true)
    private SexType gender;

    @ApiModelProperty(position = 150, value = "学历", required = true)
    private DegreeType degreeType;

    @ApiModelProperty(position = 160, value = "出生日期")
    private Date birthDate;

    @ApiModelProperty(position = 170, value = "入职时间", required = true)
    private Date joinTime;

    @ApiModelProperty(position = 190, value = "是否教务员", required = true)
    private Boolean isSenator;

    @ApiModelProperty(position = 200, value = "是否辅导员", required = true)
    private Boolean isInstructor;

    @ApiModelProperty(position = 200, value = "所属学院id", required = true)
    private String academyId;

    @ApiModelProperty(position = 200, value = "所属学院名称")
    private String academyName;
}